package com.twu.biblioteca;

/**
 * Created by shaunaks on 28/02/14.
 */
public class Movie
{
    private String name;
    private String directorName;
    private String yearOfRelease;
    private String movieRating;

    public Movie(String name,String directorName, String yearOfRelease, String movieRating)
    {
        this.name=name;
        this.directorName=directorName;
        this.yearOfRelease = yearOfRelease;
        this.movieRating=movieRating;
    }
    public Movie()
    {

    }

    public String getName() {
        return name;
    }

    public String getDirectorName() {
        return directorName;
    }

    public String getYearOfRelease() {
        return yearOfRelease;
    }

    public String getMovieRating() {
        return movieRating;
    }


    @Override
    public String toString()
    {
        return ("Movie name: "+this.getName()+" Director's Name: "+this.getDirectorName()+" Year of Release: "+this.getYearOfRelease()
        +"Rating: "+getMovieRating());

    }
}
